"""
core为处理函数层，用于写逻辑处理相关函数
"""

from src.database import user_table
import logging

logger = logging.getLogger(__name__)

#获取登录类型
def get_login_type():
    login_type = user_table.get_login_type()
    login_type = login_type.get('config_value')
    login_type = login_type.strip("[]").split(",")
    return login_type

